﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace ChiDao.Site.Models
{
    public class ProcessNodeView
    {
        [Required]
        public Guid ID { get; set; }

        public int PID { get; set; }

        [Required]
        [StringLength(255)]
        public string NodeCode { get; set; }

        [Required]
        [StringLength(255)]
        public string NodeName { get; set; }

        [StringLength(1)]
        public string NodeType { get; set; }

        [StringLength(255)]
        public string DefaultProcessPerson { get; set; }

        [StringLength(10)]
        public string ProcessPersonCondition { get; set; }

        [StringLength(255)]
        public string PreviousNodeCode { get; set; }

        [StringLength(255)]
        public string NextNodeCode { get; set; }

        public int OrderNo { get; set; }


        public int LocationX { get; set; }

        public int LocationY { get; set; }

        public int Width { get; set; }

        public int Height { get; set; }

        [StringLength(255)]
        public string Shape { get; set; }

        [StringLength(4000)]
        public string NextNodeXML { get; set; }
    }
}
